<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="320">
<meta name="screen-orientation" content="portrait">
<meta name="x5-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<link href="static/css/normalize.min.css" rel="stylesheet">
<link rel="stylesheet" href="static/css/layer.css">
<script src="static/js/layer.m.js"></script>
<link href="static/css/layer.css" type="text/css" rel="styleSheet" id="layermcss">
<script src="static/js/jquery.min.js"></script>
<script src="static/js/layer/layer.js"></script>
<link href="static/css/app.css" rel="stylesheet">
<link rel="stylesheet" href="static/js/layui/css/layui.css"  media="all">
<script src="static/js/layui/layui.js"></script>
<link type="image/x-icon" rel="shortcut icon" href="../../static/images/favicon.ico">
<script>var _uid = {$_uid};</script>
<title>专业彩票投注平台！</title>
</head>
<body>
<div id="app" class="lottery">
  <div class="header">
    <div id="HeaderTop" class="betHeader">
      <div class="snav">
        <div class="container">
          <div class="snavAll">
            <a href="/"></a><ins> | </ins><a href="{U('index/lotteryHall')}" class="betNavMore">全部彩票</a>
          </div>
          <ul class="snavInfo">
            <li class="userName MsgShow">
              <a href="{U('member/index')}" class="_personalInfo"><img alt="" src="{$_user['head_pic']}"><i>{$_user['username']}</i></a>
              <span id="unreadMsgNum" onclick="window.location='letter'">0</span>
                  <div class="cardBox" style=" width: 300px; display: none;">
                  	<div class="card fix">
                  		<div class="cardLeft">
                  			<img src="{$_user['head_pic']}" style="width: 80px; height: 80px;"> 
              				<h6>{if $_user['nickname']} {$_user['nickname']}{else}昵称未设置{/if}</h6>
              			</div> 
              			<div class="cardInfo">
                  			<ul>
                  				<li>性别：保密</li> 
                  				<li>账号：{$_user['username']}</li> 
                  				<li>等级：{$levelInfo['level']}</li> 
                  				<li>头衔：{$levelInfo['title']}</li> 
                  				<li>累计中奖：{$myWinnerAmount['all_prize']}</li>
                  			</ul>
              			</div> 
              			<ul class="cardIcon fix">
              				{loop $allCate as $ak => $av}
													{if $av['sname'] == 'k3'}
														<li><a href="{U('index/k3', array('id' => $av['lott_id']))}"><i class="iconfont {if !in_array($av['id'], $oftenPlay)} noActive {/if} {$av['tags']}"></i></a></li>
													{else if $av['sname'] == 'ssc'}
														<li><a href="{U('index/ssc', array('id' => $av['lott_id']))}"><i class="iconfont {if !in_array($av['id'], $oftenPlay)} noActive {/if} {$av['tags']}"></i></a></li>
													{else if $av['sname'] == 'syxw'}
														<li><a href="{U('index/syx5', array('id' => $av['lott_id']))}"><i class="iconfont {if !in_array($av['id'], $oftenPlay)} noActive {/if} {$av['tags']}"></i></a></li>
													{/if}
											{/loop}
											{loop $allCate as $ak => $av}
													{if $av['sname'] == ''}
														<li><a><i class="iconfont {if !in_array($av['id'], $oftenPlay)} noActive {/if} {$av['tags']}"></i></a></li>
													{/if}
											{/loop}
<!--               				<li><a><i class="iconfont L_K3"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_SSC"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_SYX5"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_PK10"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_KL8"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_FC3D"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_PL35"></i></a></li> -->
<!--               				<li><a><i class="iconfont noActive L_6HC"></i></a></li> -->
              			</ul>
              		</div>
              	</div>
        	</li>
            <li class="HoverShow">
              	<a href="?m=member&c=info">
              		我的账户 <i class="iconfont"></i>
          		</a>
              	<div class="accountList HoverShowContent" style="display: none;">
                	<i></i>
                	<a href="?m=member&c=BetRecord">投注记录</a>
                	<a href="?m=member&c=BillRecord">交易记录</a>
                	<a href="?m=member&c=info">个人信息</a>
                	<a href="?m=member&c=securityCenter">安全中心</a>
                	<a href="?m=member&c=agentIntro">代理中心</a>
              	</div>
            </li>
            <li>余额：
            	{$_user['money']}
            </li>
            <li class="HoverPay">
            	<a href="javascript:void(0);">充值 <i class="iconfont"></i></a>
            <div class="accountList HoverShowContent" style="display: none;">
              <i></i>
              <a href="{U('member/recharge', array('type'=>'bank'))}" class="">银行转帐</a>
											<a href="{U('member/recharge', array('type'=>'quick'))}" class="">快捷支付</a>
											<a href="{U('member/recharge', array('type'=>'alipay'))}" class="">支付宝充值</a>
											<a href="{U('member/recharge', array('type'=>'weichar'))}" class="">微信充值</a>
											<a href="{U('member/recharge', array('type'=>'qqpay'))}" class="">QQ钱包</a>
											<a href="{U('member/recharge', array('type'=>'bankqrcode'))}" class="">银联扫码</a>
											<a href="javascript:void(0);">快充-自动到账</a>
            </div>
            </li>
            <li><a href="?m=member&c=moneytx">提现</a></li>
            <li class="LoginOut"><a href="{U('member/login/logout')}">退出</a></li>
            {if $serviceLink['url']}
        		<a class="serviceLink ServiceBtn" href="javascript:window.open('{$serviceLink['url']}','客服咨询','toolbar=no,location=no,status=no,menubar=no,revisable=no,width=960,height=520');"><i class="iconfont"></i><span></span></a>
        	{else}
        		<a class="serviceLink ServiceBtn"><i class="iconfont"></i><span></span></a>
        	{/if}
          </ul>
        </div>
      </div>
    </div>
  </div>
	<div class="container bet" style="margin-bottom:10px;">
		<div id="id_betMoreList_Box">
        	<table class="betMoreList" style="display: none;">
          		<tbody>
          			<tr>
                        <th style="width: 214px;">快3</th>
                        <th>时时彩</th>
                        <th>快乐彩</th>
                        <th>11选5</th>
                        <th>低频彩</th>
                  </tr>
                  <tr>
                    <td>
                      {loop $k3 as $r}
                        <a href="index.php?m=index&c=k3&id={$r['id']}" class="" style="">
                            {$r['title']}
                        </a>
                      {/loop}
                    </td>
                	<td>
                		{loop $lottCateKey['7'] as $lk => $lv}
                			<a href="{U('index/' . $lv['ptid'], array('id' => $lv['id']))}" class="">{$lv['title']}</a>
                		{/loop}
                    </td>
                    <td>
                      	<a href="javascript:void(0);" class="tag_lott_unopen">北京快乐8</a>
                      	<a href="javascript:void(0);" class="tag_lott_unopen">北京PK10</a>
                      	<a href="javascript:void(0);" class="tag_lott_unopen">香港六合彩</a>
                      	<a href="javascript:void(0);" class="tag_lott_unopen">大发六合彩</a>
                    </td>
                    <td>
                    	{loop $lottCateKey['9'] as $lk2 => $lv2}
                			<a href="{U('index/' . $lv2['ptid'], array('id' => $lv2['id']))}" class="">{$lv2['title']}</a>
                		{/loop}
                    </td>
                    <td>
                      <a href="javascript:void(0);" class="tag_lott_unopen">福彩3D</a>
                      <a href="javascript:void(0);" class="tag_lott_unopen">排列3</a>
                    </td>
                  </tr>
              	</tbody>
			</table>
      	</div>
      	
      	<script>
			$('.tag_lott_unopen').on('click', '', function (){ alert('该彩种暂未开放') });
      	</script>